package com.laikan.reader.bookfriend.holder;

import android.view.View;

/**
 * Created by lingyt on 2016/11/11.
 * 列表界面脚布局针对RecyclerView
 */
public class FooterHolder extends LViewHolder{
//    public static final int STATE_HAS_MORE = 1;
//    public static final int STATE_NO_MORE = 2;
//    public static final int STATE_ERROR = 3;

    public FooterHolder(View itemView) {
        super(itemView);
        itemView.setVisibility(View.INVISIBLE);//默认不可见
    }


    public void setData(boolean hasMore) {
        itemView.setVisibility(hasMore?View.INVISIBLE:View.VISIBLE);
    }
}
